/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.service;

import java.util.List;
import java.util.Set;
import vn.webapp.dto.DataPage;
import vn.webapp.model.Clas;
import vn.webapp.model.Classes;

public interface ClassesService {

    public DataPage<Classes> filter(int page, int pageSize);
    
    public DataPage<Clas> filterTesting(int page, int pageSize);
    
    public DataPage<Classes> list();
    
    public Set<Clas> listTesting();
    
    public Classes viewDetail(String id);
    
    public Classes checkExistsCode(String code, String id);
    
    public int removeClass(String id);
    
    public int updateTheClass(String code, String id, String name);
    
    public int saveAClass(String code, String name);
}
